home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-08-23 | 4.6 KB | 115 lines | [TEXT/MPCC] |
- This folder contains a pre-release version of LaserWriter 8.3.1 which may be useful during
- your development of printing JPEG compressed images as described in the develop article.
- The 8.3.1d1 driver is the same as the release LaserWriter 8.3 except that it allows printing
- of compressed data to non-Apple brand PostScript Level 2 printers as well as printing to disk.
-
- If you aren't sure whether you are successful in printing compressed data then you can
- usually print to disk and compare the sizes of the resulting PostScript output files. First,
- print to disk with the "Level 1 Compatible" radio button selected in the standard file
- dialog. This will always be uncompressed data since PostScript Level 1 printers do not
- support any data compression.
-
- Next, print to disk with the "Level 2 Only" radio button selected in the standard
- file dialog. This will allow the file to contain compressed JPEG data if your application
- is working properly. If you are using JPEG compression, there should be a significant
- difference in the file sizes between the two cases.
-
- A way to be sure is to look at the PostScript code in the resulting PostScript files.
- If you've chosen "Level 2 Only" with the "Binary" option, then the output from PrintJPEG
- should look something like:
-
- ...
- %%EndPageSetup
- gS 0 0 552 730 rC
- 540 771 8 46210 [540 0 0 771 0 0] F F 5 :f
- ^
- |
- |
- 5 indicates binary JPEG compressed data
-
- ---------
-
-
- If you chose "Level 2 Only" with the "ASCII" option, then the output from PrintJPEG
- should look something like:
-
- ...
- %%EndPageSetup
- gS 0 0 552 730 rC
- 540 771 8 46210 [540 0 0 771 0 0] F F 6 :f
- ^
- |
- |
- 6 indicates ASCII85 encoded JPEG compressed data
-
- ---------
-
- If you chose "Level 2 Only" with the "Binary" option, and the output from PrintJPEG
- looks something like:
-
- ...
- %%EndPageSetup
- gS 0 0 552 730 rC
- 540 771 8 46210 [540 0 0 771 0 0] F F 2 :f
- ^
- |
- |
- 2 indicates binary PackBits compressed data
-
- then you are not printing JPEG compressed data. For some reason, the JPEG data is
- being decompressed on the host and passed to the driver's custom bitsProc bottleneck
- where it is compressed using PackBits compression for Level 2 output devices. One
- typical cause of this is that you are using the wrong driver. Any version of
- LaserWriter 8 prior to version 8.3.1d1 will generate this output when you are printing
- to file.
-
- ---------
-
- If you chose "Level 2 Only" with the "ASCII" option, and the output from PrintJPEG
- something like:
-
- ...
- %%EndPageSetup
- gS 0 0 552 730 rC
- 540 771 8 46210 [540 0 0 771 0 0] F F 3 :f
- ^
- |
- |
- 3 indicates ASCII85 encoded binary PackBits compressed data
-
- then you are not printing JPEG compressed data. For some reason, the JPEG data is
- being decompressed on the host and passed to the driver's custom bitsProc bottleneck
- where it is compressed using PackBits compression for Level 2 output devices. One
- typical cause of this is that you are using the wrong driver. Any version of
- LaserWriter 8 prior to version 8.3.1d1 will generate this output when you are printing
- to file.
-
- ---------
-
- If you chose "Level 1 Compatible" with the "Binary" option, then the output from PrintJPEG
- should look something like:
-
- ...
- %%EndPageSetup
- gS 0 0 552 730 rC
- 540 771 8 46210 [540 0 0 771 0 0] F F 0 :f
- ^
- |
- |
- 0 indicates binary uncompressed data
-
-
- ---------
-
- If you chose "Level 1 Compatible" with the "ASCII" option, then the output from PrintJPEG
- should look something like:
-
- ...
- %%EndPageSetup
- gS 0 0 552 730 rC
- 540 771 8 46210 [540 0 0 771 0 0] F F 1 :f
- ^
- |
- |
- 1 indicates hex encoded uncompressed data
-